package com.qfedu.wfx.manager.user.service;

import com.qfedu.wfx.manager.user.configuration.LoginUserBean;
import com.qfedu.wfx.manager.user.po.SysModule;
import com.qfedu.wfx.manager.vo.ParentNodeVO;
import org.apache.shiro.authc.AuthenticationException;

import java.util.List;


public interface IUserService {
    LoginUserBean login(String username, String password)throws NullPointerException,AuthenticationException;

    List<SysModule> queryAllNoHasModule(String roleId) throws Exception;

    List<SysModule> queryModuleByRole(String roleId) throws Exception;

    void deleteFuncByCode(String[] code) throws Exception;

    void addFunc(String moduleId,String roleId) throws Exception;

    List<ParentNodeVO> queryParentNode(String roleId) throws  Exception;

    List<String> queryFuncByUser(String username) throws Exception;
}
